projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89a2a8c
)
C89 tweak.
author
robertl
<robertl>
Fri, 21 May 2010 15:07:33 +0000
(15:07 +0000)
committer
robertl
<robertl>
Fri, 21 May 2010 15:07:33 +0000
(15:07 +0000)
csv_util.c
patch
|
blob
|
history
diff --git
a/csv_util.c
b/csv_util.c
index d68bb9986cae9224232dc3a0072822be44061d5a..2dc6d1e2692704d29d0c9fd3f6c19d2f3959b313 100644
(file)
--- a/
csv_util.c
+++ b/
csv_util.c
@@
-1727,9
+1727,9
@@
xcsv_waypt_pr(const waypoint *wpt)
writebuff(buff, fmp->printfc, utmzc);
break;
case XT_UTM_ZONEF: {
+ char tbuf[10];
GPS_Math_WGS84_To_UTM_EN(wpt->latitude, wpt->longitude,
&utme, &utmn, &utmz, &utmzc);
- char tbuf[10];
tbuf[0] = 0;
snprintf(tbuf, sizeof(tbuf), "%d%c", utmz, utmzc);
writebuff(buff, fmp->printfc, tbuf);